package com.itheima.object;

public class Teacher {
    private String name;
    private double hight;
    private double weight;

    public Teacher(){

    }
    public Teacher(String name,double hight,double weight){
        this.name = name;
        this.hight = hight;
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHight() {
        return hight;
    }

    public void setHight(double hight) {
        this.hight = hight;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public void gongFu(){
        System.out.println(name + "的身高是："+ hight+"\t" + "体重是：" + weight +"\t" +name + "的床上功夫很好" );
    }

}


